package com.tj.seed.admin.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(description = "登录请求体")
public class LoginReq {
    @ApiModelProperty(value = "登录名",example = "admin")
    @NotEmpty(message = "登录名不能为空")
    private String loginName;
    @ApiModelProperty(value = "密码",example = "****")
    @NotEmpty(message = "密码不能为空")
    private String password;
}
